package com.aaa.service.sds;

import com.aaa.entity.PageSortEntity;
import com.aaa.entity.sds.QuestionSds;

import java.util.List;

/**
 * 问题表(QuestionSds)表服务接口
 *
 * @author makejava
 * @since 2022-08-29 20:40:06
 */
public interface QuestionSdsService {

    //查询所有
    List<QuestionSds> queryAll(PageSortEntity page, QuestionSds questionSds);

    //添加
    boolean insert(QuestionSds questionSds);

    //删除
    boolean delete(String id);

    //修改
    boolean update(QuestionSds questionSds);

    //名字唯一性校验
    boolean repetitionName(QuestionSds questionSds);

    //ID唯一性校验
    boolean repetitionID(QuestionSds questionSds);
}
